MATRIX TILES EXIST

This command will return a one if the matrix has been prepared with textures, otherwise zero will be returned.

  Syntax
Return Integer=MATRIX TILES EXIST(Matrix Number)
  Parameters
Matrix Number
Integer
The matrix number

  Returns

This command will return a one if the matrix has been prepared with textures

  Description

The matrix number should be an integer value.

  Example Code
make matrix 1,1000,1000,25,25
position matrix 1,0,0,0
update matrix 1
while inkey$()<>"x"
set cursor 0,0
print "tilesexist:";matrix tiles exist(1)
endwhile
if matrix exist(1)=1 then delete matrix 1
end
  See also

MATRIX Commands Menu
Index